<ui:composition xmlns="http://www.w3.org/1999/xhtml"  xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" 
xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets">
	<div class="menuTab">
		<div class="centeredContent menuTabContent">
			<h:form>
				<div class="menuTabItems">
				
					<!-- Home -->
					<a class="menuTabItem menuTabIcon menuTabIconHome homeCategoryHoverColor" href="${request.contextPath}#{navigationBean.accessHomePage}">
						${msg.header_menu_tab_home}
					</a>
					
					<!-- Gallery -->
					<h:outputLink styleClass="menuTabItem menuTabIcon menuTabIconGallery galleryCategoryHoverColor" value="#{request.contextPath}#{navigationBean.accessGalleryPage}">
						${msg.header_menu_tab_gallery}
					</h:outputLink>
					
					<!-- Search -->
					<a class="menuTabItem menuTabIcon menuTabIconSearch searchCategoryHoverColor">${msg.header_menu_tab_search}</a>
					
					<!-- My account (if user) -->
					<h:outputLink rendered="#{userBean.user}" styleClass="menuTabItem menuTabIcon menuTabIconMyAccount userCategoryHoverColor" 
					value="#{request.contextPath}#{navigationBean.accessMyAccountPage}">
						${msg.header_menu_tab_my_account}
					</h:outputLink>
					
					<!-- Subscription (if anonymous) -->
					<h:outputLink rendered="#{not(userBean.user)}" styleClass="menuTabItem menuTabIcon menuTabIconSubscribe userCategoryHoverColor" 
					value="#{request.contextPath}#{navigationBean.accessSubscriptionPage}">
						${msg.header_menu_tab_subscription}
					</h:outputLink>
				</div>
			</h:form>
		</div>
	</div>
</ui:composition>